package com.example.testblog.Dao;

import com.example.testblog.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository  extends JpaRepository<User,Long> {
    /*JpaRepository继承这个函数是默认的吗<*/
    User findByUsernameAndPassword(String usernsme,String password);
}
